<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerPort()+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	      <title>产品${sku}详细信息</title>
		  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		  <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		  <link rel="stylesheet" type="text/css" href="<%=basePath%>CSS/layout.css" />
          <script type="text/javascript" src="js/jquery.js"language="javascript"></script>
          <script language="javascript" type="text/javascript" src="js/displayLayer.js"></script>
          <script language="javascript" type="text/javascript" src="js/calendar.js"></script>
          <script language="javascript" type="text/javascript" src="js/popupdiv_shim.js"></script>
          <script language="javascript" type="text/javascript" src="js/ajaxPopup.js"></script>
  </head>
  <body>
  <div id="wrapper">
    <!--头部菜单开始-->
    <jsp:include page="/common/head.jsp"></jsp:include>
    <!--头部菜单结束-->
	<div id="BreadCrumb">我的位置：产品管理 &gt; 产品${sku}详细信息</div>
	<div id="REC_content">
	    <fieldset id="BasicInfo" class="mainField">
		    <legend><span class="title">产品${sku}详细信息</span></legend>
			<div class="innerCon">
			    <div class="mainSearchBox">
			    </div>
			    
				<div id="mainListCon">
				    <div id="mLC">
					    <ul>
						    <li id="result">
							    <table width="888" style="border:1px solid #eee;" cellpadding="0" cellspacing="1" >
								    <tr bgcolor="#f2f6f9">
								      <th><fmt:message key="product.cmtOrderId"/></th>
                                      <th><fmt:message key="product.pdtskuid"/></th>
                                      <th><fmt:message key="product.cmtpdtskuid"/></th>
                                      <th><fmt:message key="product.cmtpdtid"/></th>
                                      <th><fmt:message key="product.cmtpdturl"/></th>
                                      <th><fmt:message key="product.importdate"/></th>
                                      <th><fmt:message key="product.pdtname"/></th>
                                      <th><fmt:message key="product.pdtenname"/></th>
                                      <th><fmt:message key="product.styleno"/></th>
                                      <th><fmt:message key="product.routeType"/></th>
                                      <th><fmt:message key="product.sendDate"/></th>
                                      <th><fmt:message key="product.pdtStatus"/></th>
									</tr>
									
									<c:forEach var="product" items="${dataList}" varStatus="idx">
									<tr class="${idx.index%2==0?'list1':'list2'}">
								     	<td>${product.cmtOrderId}</td>
								     	<td>${product.pdtskuid}</td>
								     	<td>${product.cmtpdtskuid}</td>
                                        <td>${product.cmtpdtid}</td>
                                        <td>${product.cmtpdturl==null?"未填写":product.cmtpdturl}</td>
                                        <td><fmt:formatDate value="${product.importdate}"/></td>
                                        <td>${product.pdtname==null?"未填写":product.pdtname}</td>
                                        <td>${product.pdtenname==null?"未填写":product.pdtenname}</td>
                                        <td>${product.styleno}</td>
                                        <td><a href='wip.do?proId=${product.pdtskuid}'>设置路由</a></td>
                                        <td>${product.sendDate==null?"未出货":""} <fmt:formatDate value="${product.sendDate}"/></td>
                                        <td><fmt:message key="product.pdtStatus${product.pdtStatus}"/></td>
									</tr>
									</c:forEach>
								</table> 
							</li>
						</ul>
					</div>
				</div>
			</div>
		</fieldset>
	</div>
	<jsp:include page="/common/foot.jsp"></jsp:include>
</div>
   </body>
</html>
